package com.padakeji.android.pworks.content;

import android.content.Context;

/**
 * Created by AtanL on 2015/9/17.
 */
public class PadaResourceHelper {

    private Context mContext;

    public PadaResourceHelper(Context context) {
        mContext = context;
    }

    public String getString(int strResId) {
        return mContext.getResources().getString(strResId);
    }

    public String getString(int strResId, Object... formatArgs) {
        return mContext.getResources().getString(strResId, formatArgs);
    }

    public float getDimen(int dimenResId) {
        return mContext.getResources().getDimension(dimenResId);
    }

}
